/***
 * 商品信息
 */
import { reactive, ref } from 'vue'
export default function () {
  const list = reactive([])
  const totles = ref(0)
  const part = ref(0)
  //添加商品
  const addGoods = () => {}
  //删除商口
  const delGoods = () => {}
  //修改商口
  const editGoods = () => {}
  //获取商品列表
  const getGoodsList = () => {}
  //设置信息
  const setGoodsList = () => {}
  return {
    totles,
    list,
    addGoods,
    delGoods,
    editGoods,
    getGoodsList,
    setGoodsList
  }
}
